/*    */ package com.zimbra.cs.html;
/*    */ 
/*    */ import java.io.IOException;
/*    */ import java.io.InputStream;
/*    */ import java.io.Reader;
/*    */ import java.io.Writer;
/*    */ import java.util.regex.Pattern;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public abstract interface BrowserDefang
/*    */ {
/* 38 */   public static final Pattern VALID_URL = Pattern.compile("^(https?://[\\w-].*|mailto:.*|cid:.*|notes:.*|smb:.*|ftp:.*|gopher:.*|news:.*|tel:.*|callto:.*|webcal:.*|feed:.*:|file:.*|#.+)", 2);
/* 39 */   public static final Pattern VALID_IMG = Pattern.compile("^data:|^cid:|\\.(jpg|jpeg|png|gif)$");
/*    */   
/*    */   public abstract String defang(String paramString, boolean paramBoolean)
/*    */     throws IOException;
/*    */   
/*    */   public abstract String defang(InputStream paramInputStream, boolean paramBoolean)
/*    */     throws IOException;
/*    */   
/*    */   public abstract String defang(Reader paramReader, boolean paramBoolean)
/*    */     throws IOException;
/*    */   
/*    */   public abstract void defang(InputStream paramInputStream, boolean paramBoolean, Writer paramWriter)
/*    */     throws IOException;
/*    */   
/*    */   public abstract void defang(Reader paramReader, boolean paramBoolean, Writer paramWriter)
/*    */     throws IOException;
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/html/BrowserDefang.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */